package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	UserId int     `gorm:"type:int(10);not null;"`
	Name   string  `gorm:"type:varchar(30);not null;"`
	Title  string  `gorm:"type:varchar(30);"`
	Area   string  `gorm:"type:varchar(100);"`
	Price  float64 `gorm:"type:decimal(10,2);"`
	Img    string  `gorm:"type:varchar(250);not null;"`
	Num    int     `gorm:"type:int(10);"`
}
